/**
 * 
 */
package com.demo2do.fms.entity.driver;

import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * 
 * esb系统黑白名单（增量）</br>
 * esb负责写入，insert触发器会同步black字段到Driver.black
 * 
 * @author Guangli Yan
 *
 */
@Table(name = "ESB_BLACK_WHITE_LIST")
@Entity
public class EsbBlackWhiteList {

    @Id
    private Long id;
    
    private String name;
    
    private String idCard;
    
    private String tel;
    
    @Column(name = "IS_BLACK")
    private Boolean black;
    
    private String dealPerson;
    
    private Date dealTime;
    
    private String dealReason;
    
    public EsbBlackWhiteList() {
    }

    /**
     * @return the id
     */
    public Long getId() {
        return id;
    }

    /**
     * @param id the id to set
     */
    public void setId(Long id) {
        this.id = id;
    }

    /**
     * @return the name
     */
    public String getName() {
        return name;
    }

    /**
     * @param name the name to set
     */
    public void setName(String name) {
        this.name = name;
    }

    /**
     * @return the idCard
     */
    public String getIdCard() {
        return idCard;
    }

    /**
     * @param idCard the idCard to set
     */
    public void setIdCard(String idCard) {
        this.idCard = idCard;
    }

    /**
     * @return the tel
     */
    public String getTel() {
        return tel;
    }

    /**
     * @param tel the tel to set
     */
    public void setTel(String tel) {
        this.tel = tel;
    }

    /**
     * @return the black
     */
    public Boolean getBlack() {
        return black;
    }

    /**
     * @param black the black to set
     */
    public void setBlack(Boolean black) {
        this.black = black;
    }

    /**
     * @return the dealPerson
     */
    public String getDealPerson() {
        return dealPerson;
    }

    /**
     * @param dealPerson the dealPerson to set
     */
    public void setDealPerson(String dealPerson) {
        this.dealPerson = dealPerson;
    }

    /**
     * @return the dealTime
     */
    public Date getDealTime() {
        return dealTime;
    }

    /**
     * @param dealTime the dealTime to set
     */
    public void setDealTime(Date dealTime) {
        this.dealTime = dealTime;
    }

    /**
     * @return the dealReason
     */
    public String getDealReason() {
        return dealReason;
    }

    /**
     * @param dealReason the dealReason to set
     */
    public void setDealReason(String dealReason) {
        this.dealReason = dealReason;
    }
    
}
